// store/getters.js
import store from '../utils/store'

const getters = {
  token: () => store.state.token,
  avatar: () => store.state.avatar,
  id: () => store.state.id,
  name: () => store.state.name,
  roles: () => store.state.roles,
  permissions: () => store.state.permissions
}

export default getters